OpenBuildings GenerativeComponents Help

Expressions

An expression is any passage of script code that results in a single value.

An expression can very simple, or arbitrarily complex.

Examples

1
'stairwell'
10 / 3
Sqrt(x * x + y * y)
(Distance(point[0], point[1]) – 2 * coneBase[1].Radius)
/ 2

Note that the resultant single value could actually be a list, as in:

Union({1, 2, 3}, {2, 3, 4})    // This results
in the single value, {1, 2, 3, 4}.